package fourzerofour.yangqiang.day01;

public class Question6 {


    public static void main(String[] args) {
        int i = 0;
        int m=0;
        String str = "9";
        for (int j = 9; j < 100000; j *= 10) {
            i = i + j;
            m+=i;
            if (i > 10) {
                str += "+" + i;
            }
        }
        System.out.println(str+"的和为："+m);
    }
}